package com.googlecode.publicholiday.utils;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.Validate;

public class Validation extends Validate {

    public static void notBlank(String text, String message) {
        if (StringUtils.isBlank(text)) {
            throw new IllegalArgumentException(message);
        }
    }
}
